#include "Window.h"
#include "TextView.h"
#include "ScrollDecorator.h"
#include "BorderDecorator.h"

int main(void)
{
	boost::shared_ptr<Window> window(new Window);
	boost::shared_ptr<TextView> textView(new TextView);

	boost::shared_ptr<ScrollDecorator> scrollDecorator(new ScrollDecorator(textView));
	boost::shared_ptr<BorderDecorator> borderDecorator(new BorderDecorator(scrollDecorator,1));

	window.get()->SetContents(borderDecorator);
}
